﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Meirimoney.Exchange.Website.Utilities
{
    public class LoginBase : BasePage
    {
        protected override void OnInit(EventArgs e)
        {
            object user = this.Session["user"];
            if (user == null)
            {
                this.Response.Redirect("/Account/Login.aspx");
            }
            else
            {
                base.OnInit(e);
            }
        }
    }
}